# core.mk

.PHONY: all
all:
	@echo "无事可做"

# 引入默认的 repo.mk 进行扩展 repo 的相关操作
include build-scripts/repo.mk

# 引入默认的 macro.mk 进行扩展 macro 的相关操作
include build-scripts/macro.mk

# 渐进式 NOTE：
# .PHONY 意味着它不会生成任何目标文件，并且不与任何已存在相同名称的文件/目录产生相关内容
# ...

# ------------- LOCAL_REPO_PROJECTS ------------- #


include build-scripts/envset-macro.mk

# $(eval $(call env-local-repo-projects,cmake.))

ifneq ($(LOCAL_REPO_PATHS),)
$(foreach n,$(LOCAL_REPO_PATHS),$(eval $(call macro-target-path,$(n),^spark-)))
else
LOCAL_REPO_PATHS=$(shell repo forall -c pwd)
$(foreach n,$(LOCAL_REPO_PATHS),$(eval $(call macro-target-path,$(n),^spark-)))
endif
